<!DOCTYPE html>
<html lang="zh-cn">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">
		<link rel="shortcut icon" href="kkcai.png">
		<title>Admin . KKCai</title>
		<!-- Bootstrap core CSS -->
		<link rel="stylesheet" href="/static/css/bootstrap-3.0.2/dist/css/bootstrap.min.css" />
	</head>

	<body>
		<div class="navbar navbar-default navbar-fixed-top" role="navigation">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="http://kankancai.duapp.com">KanKanCai</a>
				</div>
				<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
						<li class="active"><a href="/fl">All FL</a></li>
						<li><a href="/cp">All CP</a></li>
						<li><a href="/admin">Today's Menu</a></li>
					</ul>
		
					<form class="navbar-form navbar-right" role="form" action="/admin/login" method="get">
						<div class="form-group">
							<input type="text" placeholder="User" class="form-control" name="user">
						</div>
						<div class="form-group">
							<input type="password" placeholder="Password" class="form-control" name="passwd">
						</div>
						<button type="submit" class="btn btn-success">Sign in</button>
					</form>
				</div><!--/.navbar-collapse -->
			</div>
		</div><!--/navigation -->
	
		<div class="container">
			<!-- Main component for a primary marketing message or call to action -->
			<div class="jumbotron">

	<form>
		<table class="table table-hover">
			<tr>
				<th>FLID</th>
				<th>FLMC</th>
				<th>Operate</th>
			</tr>
			<tr>
				<td>
					<input type="text" class="form-control" id="i_text_flid_add" />
				</td>
				<td>
					<input type="text" class="form-control" id="i_text_flmc_add" />
				</td>
				<td>
					<input type="button" class="btn btn-success" id="i_btn_save" value="Save" />
					<input type="reset" class="btn btn-default" value="Discard" />
				</td>
			</tr>

			{% for fl in fllist %}
			<tr>
				<td id="i_td_flid">
					{{fl.1}}
				</td>
				<td id="i_td_flmc">
					{{fl.0}}
				</td>
				<td>
					<input type="button" class="btn btn-success" id="i_btn_edit" value="Edit" />
					<input type="button" class="btn btn-danger" id="i_btn_delete" value="Delete" />
					<input type="button" class="btn btn-default" id="i_btn_update" value="Update" />
					<input type="button" class="btn btn-default" id="i_btn_cancel" value="Cancel" />
				</td>
			</tr>
			{% endfor %}

		</table>
	</form>
	
			</div>
		</div> <!-- /container -->
	<script type="text/javascript" src="/static/js/jquery-1.6.4.min.js"></script>
	<script type="text/javascript" src="/static/js/fl.js"></script>
	</body>
</html>